package xin.de.weiauth.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * Created by zz on 2017/7/29.
 */
@Data
@Component
@ConfigurationProperties(prefix = "wechat")
public class WechatAccountConfig {
    /*公众号ID*/
    private String mpAppId;

    private String mpAppSecret;

    /*微信模板id*/
    private Map<String,String> templateId;
}
